package pl.edu.utp.kursy.comparators;

import java.util.Comparator;
import pl.edu.utp.kursy.database.Company;

public class CompanyComparator implements Comparator<Company>{

    @Override
    public int compare(Company o1, Company o2) {
        return o1.getName().compareTo(o2.getName());
    }
    
}
